<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="s" uri="http://stripes.sourceforge.net/stripes.tld" %>
<%@taglib prefix="f" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ page import="org.springframework.security.core.Authentication,org.springframework.security.core.context.SecurityContextHolder,org.springframework.security.core.GrantedAuthority" %>

<s:layout-render name="/layout.jsp" titlekey="errorlogin.title">
    <s:layout-component name="body">
        <body onload='document.f.j_username.focus();'>
	<h2> <f:message key="login.error"/> </h2> 
        <div id="divLoginError">
                ${sessionScope["SPRING_SECURITY_LAST_EXCEPTION"].message}
        </div>    
        <hr>
        <span><a href ="login.jsp" style="color: #FFFFFF"> <f:message key="login.error.backToLogin"/> </a></span><br>
    </s:layout-component>
</s:layout-render>